package com.ecoolex.discount.sales.pojo;

import com.ecoolex.framework.common.annotation.Description;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.lang.NonNull;

@Description({ "获取优惠券" })
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FetchCouponDTO {

    @Description({ "批次编号", "不能为空" })
    @NonNull
    private long batchId;

    @Description({ "单次获取的数量", "不能为空" })
    @NonNull
    private int amount;
}
